<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="res/layui/css/layui.css">
<link rel="stylesheet" type="text/css" href="res/css/main.css">
<link rel="stylesheet" href="res/css/index.css">
<link rel="stylesheet" href="custom/css/bloger.css">
<title>更多加油稿</title>

<style>
	.all{
		width:100%;
		margin-top:10px;
		height:30px;
		background-color:#6699ff;
	}
	.lower{
		width:100%;
		background-color:#FFFFFF;
	}
	.cardbody{
		height:30px;
		line-height:30px;
		margin-top:20px;
		border-bottom:1px dotted #bfbfbf;
	}
	.title{
		text-align:center;
		font-size:24px;
		background-color:#f0f0f5;
	}
	.left{
		float:left;
		text-align:center;
	}
	.right{
		float:right;
		color:#ccd9ff;
	}
</style>
</head>
<body>
		
	<!-- 导入导航栏 -->
	<div class="layui-container" style="width:100%">
	  	<%@ include file="header.jsp" %> 
  	</div>
  	<!-- 中间部分 -->
  	<div class="layui-container "></div>
	  <div class="layui-container lower">
		    <div class="layui-row layui-col-space12">
				<div class="layui-card layui-col-space8" style="margin:0 auto;width:70%;">
					<div class="title" style="margin-bottom: 5px;">校运动会比赛加油稿</div>
					
					<!-- 加油稿内容呈现开始，每页10调数据 -->
					<div class="layui-row">
						<div class="layui-col-xs6 layui-col-md12">
						      <div class="grid-demo grid-demo-bg2">
							      	<div id = "statistictopic" class="layui-col-xs6 layui-col-md12" style="margin: 5px auto;">
						        		<span class="articletopic"> </span>
						        		<c:if test="${loginuser == null}">
						        			<span class="articletopic" style="float: right;display:none;"><a href="addoiling.jsp">添加</a></span>
						        		</c:if>
						        		<c:if test="${loginuser != null}">
						        			<span class="articletopic" style="float: right;"><a href="addoiling.jsp">添加</a></span>
						        		</c:if>
						        	</div>
						      </div>
						      <table width="100%">
								<c:forEach items="${oneoilinlist }" var="obj">
					              	<tr>
						            	<td id="blogcontent" style="text-align:center;margin: 20px auto;" class="layui-col-xs12 layui-col-md8">
						            		【${obj.oilingtitle}】
						            	</td>
						                <td id="blogcreate" class="layui-col-xs6 layui-col-md4">创建时间:${obj.createtime}</td>
					            	</tr>
					            	<tr class="grid-demo grid-demo-bg2" style="margin: 20px auto;">
					            		 <td >${obj.oilingcecontent}</td>
					            	</tr>
					  			</c:forEach>
				            </table>
					    </div>
					    <!-- 加油稿内容呈现结束，每页10调数据 -->
					    
				    </div>
					
			   	</div>
			</div>
		</div>
  	
  	<!-- footer部分 -->
	<div class="layui-container" style="width:100%;margin-top:110px;">
	  	<%@ include file="footer.jsp" %> 
  	</div>
<script src="res/layui/layui.js"></script>
  	
</body>
</html>